<template>
  <div>
<!--    <iframe ref="synologyWebUI" :src="srcUrl" frameborder="0" style="width: 99%;height: 85vh" @load="onIframeLoad"></iframe>-->
    <el-button type="primary" @click="openNewPage">点击这里打开《三谷数据中心》页面</el-button>
  </div>
</template>

<script>

export default {
  name: "Nas",
  data(){
    return {
      srcUrl: 'https://sgtj.synology.me:5051/'
    }
  },
  created() {
    // this.load();
  },
  mounted() {
    // this.setAuthCookie()
  },
  methods: {
    openNewPage(){
      window.open(this.srcUrl,'_blank');
    }
  }
}
</script>

<style scoped>
span{
  cursor: pointer;
  color: #3a8ee6;
  /*text-decoration: underline;*/
}
</style>